<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class OAuthSignatureMethod_RSA_SHA1</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class OAuthSignatureMethod_RSA_SHA1</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The RSA-SHA1 signature method uses the RSASSA-PKCS1-v1_5 signature algorithm as defined in</p>
<p class="description"><p>[RFC3447] section 8.2 (more simply known as PKCS#1), using SHA-1 as the hash function for  EMSA-PKCS1-v1_5. It is assumed that the Consumer has provided its RSA public key in a  verified way to the Service Provider, in a manner which is beyond the scope of this  specification. <ul><li>Chapter 9.3 (&quot;RSA-SHA1&quot;)</li></ul></p></p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_OAuth.php.html">/OAuth.php</a> (line <span class="field">177</span>)
		</p>
		
				
		<pre><a href="../default/OAuthSignatureMethod.html">OAuthSignatureMethod</a>
   |
   --OAuthSignatureMethod_RSA_SHA1</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																												
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#build_signature" title="details" class="method-name">build_signature</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$request</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$consumer</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$token</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#check_signature" title="details" class="method-name">check_signature</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$request</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$consumer</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$token</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$signature</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#fetch_private_cert" title="details" class="method-name">fetch_private_cert</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$request</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#fetch_public_cert" title="details" class="method-name">fetch_public_cert</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$request</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#get_name" title="details" class="method-name">get_name</a>
										()
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodbuild_signature" id="build_signature"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">build_signature</span> (line <span class="line-number">196</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			build_signature
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$request</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$consumer</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$token</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$request</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$consumer</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$token</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../default/OAuthSignatureMethod.html#methodbuild_signature">OAuthSignatureMethod::build_signature()</a></dt>
						<dd>Build up the signature  NOTE: The output of this function MUST NOT be urlencoded.</dd>
					</dl>
			
	</div>
<a name="methodcheck_signature" id="check_signature"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">check_signature</span> (line <span class="line-number">215</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			check_signature
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$request</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$consumer</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$token</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$signature</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$request</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$consumer</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$token</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$signature</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../default/OAuthSignatureMethod.html#methodcheck_signature">OAuthSignatureMethod::check_signature()</a></dt>
						<dd>Verifies that a given signature is correct</dd>
					</dl>
			
	</div>
<a name="methodfetch_private_cert" id="fetch_private_cert"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">fetch_private_cert</span> (line <span class="line-number">194</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			fetch_private_cert
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$request</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$request</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfetch_public_cert" id="fetch_public_cert"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">fetch_public_cert</span> (line <span class="line-number">188</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			fetch_public_cert
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$request</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$request</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget_name" id="get_name"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_name</span> (line <span class="line-number">178</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get_name
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../default/OAuthSignatureMethod.html#methodget_name">OAuthSignatureMethod::get_name()</a></dt>
						<dd>Needs to return the name of the Signature Method (ie HMAC-SHA1)</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../default/OAuthSignatureMethod.html">OAuthSignatureMethod</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../default/OAuthSignatureMethod.html#methodbuild_signature">OAuthSignatureMethod::build_signature()</a></span><br>
													<span class="method-name"><a href="../default/OAuthSignatureMethod.html#methodcheck_signature">OAuthSignatureMethod::check_signature()</a></span><br>
													<span class="method-name"><a href="../default/OAuthSignatureMethod.html#methodget_name">OAuthSignatureMethod::get_name()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>